export default {
  path: "student",
  name: "Student",
  component: () =>
    import(/* webpackChunkName: "home" */ "../../views/Home/student"),
  redirect: "/home/student/editstudent",
  meta: {
    login: true,
    title: "首页",
    auth: ["管理员", "浏览者", "出题者"],
  },
  children: [
    {
      path: "editstudent",
      name: "Editstudent",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/student/Editstudent.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员", "浏览者", "出题者"],
      },
    },
    {
      path: "addstudent",
      name: "Addstudent",
      component: () =>
        import(
          /* webpackChunkName: "home" */ "../../views/Home/student/Addstudent.vue"
        ),
      meta: {
        login: true,
        title: "首页",
        auth: ["管理员", "出题者"],
      },
    },
  ],
};
